package com.unitedvision.core.service;

import java.util.List;

import com.unitedvision.core.domain.Company;
import com.unitedvision.core.exception.MethodNotSupportedException;

public interface NameBasedDataRetriever<T> extends DataRetriever<T> {
	List<T> getByNameLike(String name, Company company) throws MethodNotSupportedException;
	List<T> getByNameLike(String name) throws MethodNotSupportedException;
	T getByName(String name) throws MethodNotSupportedException;
	T getByName(String name, Company company) throws MethodNotSupportedException;
}
